var express = require('express');
var router = express.Router();

router.get('/template', function(req, res, next) {  //访问router根目录时
    res.download('public/login.png',function(err){
    	if(err){
    		console.log(err)
    	}else{
    		console.log("xx")
    	}
    })
});


module.exports = router;